package com.moonshineproject.events
{
	import com.moonshineproject.plugin.project.vo.FileWrapper;
	
	import flash.events.Event;
	import flash.filesystem.File;

	public class DeleteFileEvent extends Event
	{
		public static const EVENT_DELETE_FILE:String = "deleteFileEvent";
		
		public var file:File;
		public var wrapper:FileWrapper;
		
		// If you don't supply a filewrapper with a version control object it won't be registered with vc
		public function DeleteFileEvent(file:File, wrapper:FileWrapper=null)
		{
			this.file = file;
			this.wrapper = wrapper;
			super(EVENT_DELETE_FILE, false, false);
		}
		
	}
}